#ifndef THEDLL_H
#define THEDLL_H

#ifdef THEDLL_EXPORTS
	#define GENSORT_API __declspec(dllexport)
#else
	#define GENSORT_API __declspec(dllimport)
#endif

extern "C"
{
	GENSORT_API int GetProcessCount();
	GENSORT_API int GetThreadCount();
	GENSORT_API void *DataValueAddress();
	GENSORT_API int DataValueGet();
	GENSORT_API void DataValueSet(int Value);
	GENSORT_API int DataValue2Get();
	GENSORT_API void DataValue2Set(int Value);
	GENSORT_API int CurSpeedGet();
	GENSORT_API void CurSpeedSet(int Value);
	GENSORT_API int CurDirectionGet();
	GENSORT_API void CurDirectionSet(int Value);
	GENSORT_API bool ChildActive();
	GENSORT_API void SetChildStatus(bool bValue);
}

#endif